package com.zmzncs.lmtc.common.pojo.enums.optionalvalue.promotion;

/**
 * 月租规则的月租类型
 */
public enum MonthRentTypeEnum {

    MONTH(1, 30, "月付"),
    QUARTER(2, 90, "季付"),
    HALF_YEAR(10, 180, "半年付"),
    YEAR(3, 365, "年付"),
    ;

    private int code;
    private int days;
    private String massage;

    MonthRentTypeEnum(int code, int days, String massage){
        this.code = code;
        this.days = days;
        this.massage = massage;
    }


    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public int getDays() {
        return days;
    }

    public void setDays(int days) {
        this.days = days;
    }

    public String getMassage() {
        return massage;
    }

    public void setMassage(String massage) {
        this.massage = massage;
    }
}
